#include<stdio.h>
#include<iostream>
#include<string.h>
using namespace std;
int main()
{
	int n, u, d,height,time;
	while (cin >> n >> u >> d)
	{
		if (!n && !u && !d)break;
		height = 0,time = 0;
		while (height < n)
		{
			height += u;
			time++;
			if (height >= n)break;
			height -= d;
			time++;
		}
		cout << time << endl;
	}
	return 0;
}